
import java.util.*;
import jleda.list.*;
import jleda.tree.*;

public class Test {
	public static void main( String[] args ) {
		BinaryHeapMap<Double,Integer> heap = new BinaryHeapMap<Double,Integer>();
		heap.insert( 2.0, 4 );
		heap.insert( 100.0, 8 );
		heap.insert( 4.0, 0 );
		System.out.println(heap.deleteMin());
		System.out.println(heap.deleteMin());
		System.out.println(heap.deleteMin());
	}
}
